<%@page pageEncoding="UTF-8"%>
<%@page import="java.util.List"%>
<%@page import="java.sql.Date"%>
<%@page import="com.tarena.mvc.domain.*"%>
<%
	request.setCharacterEncoding("utf-8");
	Product product = (Product) request.getAttribute("product");
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<link href="../css/style.css" type="text/css" rel="stylesheet" />
	</head>
	<body topMargin="10">

		<div id="append_parent"></div>
		<table cellSpacing="6" cellPadding="2" width="100%" border="0">
			<tbody>
				<tr>
					<td>
						<table class="guide" cellSpacing="0" cellPadding="0" width="100%"
							border="0">
							<tbody>
								<tr>
									<td>
										&nbsp;
									</td>
								</tr>
							</tbody>
						</table>
						<br />

						<form styleId="settings" action="product_update" method="post">
							<table class="tableborder" cellSpacing="0" cellPadding="0"
								width="100%" border="0" style="">
								<tbody>
									<tr class="header">
										<td colSpan="3">
											变更项目
										</td>
									</tr>
								</tbody>
								<tbody>
									<tr>
										<td class="altbg1" width="20%">
											<div align="center">
												<font color="#804040">
													<b>编&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;号:</b> 
													</font>
											</div>
										</td>
										<td class="altbg2" align="center">
											<font color="#804040">
											<input type="text" name="id" value='<%=product.getId()%>'
													 readonly='readonly' style="background-color:#dddddd" />
											</font>
										</td>
										<td>
											<span style="color: red"> </span>
										</td>
									</tr>

									<tr>
										<td class="altbg1" width="20%">
											<div align="center">
												<font color="#804040"><b>品&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
														牌:</b> </font>
											</div>
										</td>
										<td class="altbg2" valign="middle" width="20%" align="center">
											<input type="text" name="brand" value="<%=product.getBrand() %>" />
										</td>
										<td>
											<span style="color: red"> </span>
										</td>
									</tr>

									<tr>
										<td class="altbg1" width="20%">
											<div align="center">
												<font color="#804040"><b>型&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
														号:</b> </font>
											</div>
										</td>
										<td class="altbg2" align="center">
											<font color="#804040">
											<input type="text" name="model" value="<%=product.getModel() %>" /> </font>
										</td>
										<td>
											<span style="color: red"> </span>
										</td>
									</tr>

									<tr>
										<td class="altbg1" width="20%">
											<div align="center">
												<font color="#804040"><b>生产时间:</b> </font>
											</div>
										</td>
										<td class="altbg2">
											<input type="text" name="bornTime" value="<%=product.getBornTime() %>" />
										</td>
										<td>
											<span style="color: red"> </span>
										</td>
									</tr>
									<tr>
										<td class="altbg1" width="20%">
											<div align="center">
												<font color="#804040"><b>上市时间:</b> </font>
											</div>
										</td>
										<td class="altbg2">
											<input type="text" name="offerTime" value="<%=product.getOfferTime() %>" />
										</td>
										<td>

											<span style="color: red"> </span>
										</td>
									</tr>
									<tr>
										<td class="altbg1" width="20%">
											<div align="center">
												<font color="#804040"><b>价&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
														格:</b> </font>
											</div>
										</td>
										<td class="altbg2">
											<input type="text" name="price" value="<%=product.getPrice() %>" />
										</td>
										<td>

											<span style="color: red"> </span>
										</td>
									</tr>
								</tbody>
							</table>

							<br />
							<center>
								<input class="button" type="button" value="取消"
									name="settingsubmit" onclick="window.location=product_list" />
								<input class="button" type="submit" value="提 交"
									name="settingsubmit" />
							</center>
						</form>
					</td>
				</tr>
			</tbody>
		</table>
	</body>
</html>
